package cn.iocoder.yudao.module.promotion.controller.admin.rankingrecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.util.*;

@Schema(description = "管理后台 - 排行榜分佣记录新增/修改 Request VO")
@Data
public class RankingRecordSaveReqVO {

    @Schema(description = "主键，自增长", requiredMode = Schema.RequiredMode.REQUIRED, example = "13485")
    private Long id;

    @Schema(description = "排行榜活动ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "30129")
    @NotNull(message = "排行榜活动ID不能为空")
    private Long rankingId;

    @Schema(description = "分享用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "22049")
    @NotNull(message = "分享用户编号不能为空")
    private Long brokerageUserId;

    @Schema(description = "业务编号（订单)", requiredMode = Schema.RequiredMode.REQUIRED, example = "15902")
    @NotEmpty(message = "业务编号（订单)不能为空")
    private String bizId;

    @Schema(description = "业务类型：1-订单，2-提现", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "业务类型：1-订单，2-提现不能为空")
    private Integer bizType;

    @Schema(description = "标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "标题不能为空")
    private String title;

    @Schema(description = "实付金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "27853")
    @NotNull(message = "实付金额不能为空")
    private Integer price;

    @Schema(description = "积分", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "积分不能为空")
    private Long score;

    @Schema(description = "说明", requiredMode = Schema.RequiredMode.REQUIRED, example = "你说的对")
    @NotEmpty(message = "说明不能为空")
    private String description;

    @Schema(description = "状态：0-待结算，1-已结算，2-已取消", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态：0-待结算，1-已结算，2-已取消不能为空")
    private Integer status;

    @Schema(description = "用户等级", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "用户等级不能为空")
    private Integer sourceUserLevel;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2034")
    @NotNull(message = "用户编号不能为空")
    private Long sourceUserId;

}